package com.sinoglobal.sinostore.fragment;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentTransaction;
import android.support.v4.view.ViewPager;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.sinoglobal.sinostore.R;

public final class VenderDescFragment extends Fragment {
	
	ViewPager viewPager;
	public static VenderDescFragment newInstance() {
		VenderDescFragment fragment = new VenderDescFragment();
		
		return fragment;
	}
	
	
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
		View layout=inflater.inflate(R.layout.shop_fragment_goods_detail, null);
		return layout;
	}
	/**
	 * 
	* @author zrh
	* @methods changeFragment 
	* @description 切换到图文详情页面
	* @date 2015年1月13日 下午4:48:13 参数说明
	 */
	private void changeFragment() {
		getFragmentManager().beginTransaction()
		.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN)
		.add(GoodsWebFragment.newInstance(), "GoodsWebFragment")
		.addToBackStack(null)
		.commit();
	}
}
